/*
 * @FilePath: /tads/server/app/business/models/bus.go
 * @Author: wnina0x0
 * @Date: 2025-04-14 17:35:02
 * @Description:
 *
 * 版权信息 : 2025 by wnina0x0, All Rights Reserved.
 */
package models

type BusType struct {
	ID          uint   `gorm:"primaryKey;autoIncrement;column:id;comment:主键ID" json:"id"`
	BusTypeName string `gorm:"size:100;not null;column:bus_type_name;comment:总线名称" json:"bus_type_name"`
	BusTypeDesc string `gorm:"size:100;not null;column:bus_type_desc;comment:描述" json:"bus_type_desc"`
	IsDeleted   bool   `gorm:"default:false;column:is_deleted;index;comment:是否删除" json:"is_deleted"`
}

func (BusType) TableName() string {
	return "t_bus_type"
}
